/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.yunhoo.contract.util;

import com.yunhoo.base.model.Partner;
import com.yunhoo.base.model.ContractType;
import java.util.Date;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

@ManagedBean(name = "queryContract")
@SessionScoped
public class DocumentQueryConditionBeanContract {

    private Date docDateBegin = null;  //
    private Date docDateEnd = null;
    private Date deadLineBegin = null;
    private Date deadLineEnd = null;
    private Date deliveryBegin = null;
    private Date deliveryEnd = null;
    private ContractType contractType = new ContractType();
    private Partner partner = new Partner();//乙方
    private String number;
    private String cname;
    private Date orderdatestart;
    private Date orderdateend;
    private String address;
    private Date startstart;
    private Date startend;
    private Date deadlinestart;
    private Date deadlineend;
    private String nameA;
    private String nameAstand;
    private String nameB;
    private String nameBstand;
    private Double targetstart = null;
    private Double targetend = null;
    private Double quality_marginstart = null;
    private Double quality_marginend = null;
    private Double penaltystart = null;
    private Double penaltyend = null;
    private String other;
    private Date warrantystart;
    private Date warrantyend;
    private String pay;
    private Date date1_start;
    private Date date1_end;
    private String isEffect = "";//是否生效 1：是 ，0：否
    private Date date2_start;
    private Date date2_end;
    private Double payAmoutnStart = null;
    private Double payAmoutnEnd = null;

    public Date getDeadLineBegin() {
        return deadLineBegin;
    }

    public void setDeadLineBegin(Date deadLineBegin) {
        this.deadLineBegin = deadLineBegin;
    }

    public String getNameA() {
        return nameA;
    }

    public ContractType getContractType() {
        return contractType;
    }

    public void setContractType(ContractType contractType) {
        this.contractType = contractType;
    }

    public void setNameA(String nameA) {
        this.nameA = nameA;
    }

    public String getNameB() {
        return nameB;
    }

    public void setNameB(String nameB) {
        this.nameB = nameB;
    }

    public Date getDeadLineEnd() {
        return deadLineEnd;
    }

    public void setDeadLineEnd(Date deadLineEnd) {
        this.deadLineEnd = deadLineEnd;
    }

    public Date getDeliveryBegin() {
        return deliveryBegin;
    }

    public void setDeliveryBegin(Date deliveryBegin) {
        this.deliveryBegin = deliveryBegin;
    }

    public Date getDeliveryEnd() {
        return deliveryEnd;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public String getNameAstand() {
        return nameAstand;
    }

    public void setNameAstand(String nameAstand) {
        this.nameAstand = nameAstand;
    }

    public String getNameBstand() {
        return nameBstand;
    }

    public void setNameBstand(String nameBstand) {
        this.nameBstand = nameBstand;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getOther() {
        return other;
    }

    public void setOther(String other) {
        this.other = other;
    }

    public String getPay() {
        return pay;
    }

    public void setPay(String pay) {
        this.pay = pay;
    }

    public Date getDeadlineend() {
        return deadlineend;
    }

    public void setDeadlineend(Date deadlineend) {
        this.deadlineend = deadlineend;
    }

    public Date getDeadlinestart() {
        return deadlinestart;
    }

    public void setDeadlinestart(Date deadlinestart) {
        this.deadlinestart = deadlinestart;
    }

    public Date getOrderdateend() {
        return orderdateend;
    }

    public void setOrderdateend(Date orderdateend) {
        this.orderdateend = orderdateend;
    }

    public Date getOrderdatestart() {
        return orderdatestart;
    }

    public void setOrderdatestart(Date orderdatestart) {
        this.orderdatestart = orderdatestart;
    }

    public Date getStartend() {
        return startend;
    }

    public void setStartend(Date startend) {
        this.startend = startend;
    }

    public Date getStartstart() {
        return startstart;
    }

    public void setStartstart(Date startstart) {
        this.startstart = startstart;
    }

    public Date getWarrantyend() {
        return warrantyend;
    }

    public void setWarrantyend(Date warrantyend) {
        this.warrantyend = warrantyend;
    }

    public Date getWarrantystart() {
        return warrantystart;
    }

    public void setWarrantystart(Date warrantystart) {
        this.warrantystart = warrantystart;
    }

    public void setDeliveryEnd(Date deliveryEnd) {
        this.deliveryEnd = deliveryEnd;
    }

    public Date getDocDateBegin() {
        return docDateBegin;
    }

    public void setDocDateBegin(Date docDateBegin) {
        this.docDateBegin = docDateBegin;
    }

    public Date getDocDateEnd() {
        return docDateEnd;
    }

    public void setDocDateEnd(Date docDateEnd) {
        this.docDateEnd = docDateEnd;
    }

    public Partner getPartner() {
        return partner;
    }

    public void setPartner(Partner partner) {
        this.partner = partner;
    }

    public Double getPenaltyend() {
        return penaltyend;
    }

    public void setPenaltyend(Double penaltyend) {
        this.penaltyend = penaltyend;
    }

    public Double getPenaltystart() {
        return penaltystart;
    }

    public void setPenaltystart(Double penaltystart) {
        this.penaltystart = penaltystart;
    }

    public Double getQuality_marginend() {
        return quality_marginend;
    }

    public void setQuality_marginend(Double quality_marginend) {
        this.quality_marginend = quality_marginend;
    }

    public Double getQuality_marginstart() {
        return quality_marginstart;
    }

    public void setQuality_marginstart(Double quality_marginstart) {
        this.quality_marginstart = quality_marginstart;
    }

    public Double getTargetend() {
        return targetend;
    }

    public void setTargetend(Double targetend) {
        this.targetend = targetend;
    }

    public Double getTargetstart() {
        return targetstart;
    }

    public void setTargetstart(Double targetstart) {
        this.targetstart = targetstart;
    }

    public Date getDate1_start() {
        return date1_start;
    }

    public void setDate1_start(Date date1_start) {
        this.date1_start = date1_start;
    }

    public Date getDate1_end() {
        return date1_end;
    }

    public void setDate1_end(Date date1_end) {
        this.date1_end = date1_end;
    }

    public String getIsEffect() {
        return isEffect;
    }

    public void setIsEffect(String isEffect) {
        this.isEffect = isEffect;
    }

    public Date getDate2_start() {
        return date2_start;
    }

    public void setDate2_start(Date date2_start) {
        this.date2_start = date2_start;
    }

    public Date getDate2_end() {
        return date2_end;
    }

    public void setDate2_end(Date date2_end) {
        this.date2_end = date2_end;
    }

    public Double getPayAmoutnStart() {
        return payAmoutnStart;
    }

    public void setPayAmoutnStart(Double payAmoutnStart) {
        this.payAmoutnStart = payAmoutnStart;
    }

    public Double getPayAmoutnEnd() {
        return payAmoutnEnd;
    }

    public void setPayAmoutnEnd(Double payAmoutnEnd) {
        this.payAmoutnEnd = payAmoutnEnd;
    }
}
